/**
 * 
 */
package com.demo2do.boyle.common.entity.advertisement;

import com.demo2do.core.utils.Alias;

/**
 * @author Leo
 *
 */
@Alias("advertisementStatus")
public enum Status {
	EDITING("编辑中", "warning"),
	AUDITING("待审核", "danger"),
	UNPASS("审核不通过", "danger"),
	UNPAY("待付款", "warning"),
	HANDLING("进行中", "info"),
	COMPLETED("已完成", "success");
	
	private String description;
	
	private String css;

	/**
	 * @param description
	 */
	Status(String description,String css) {
		this.description = description;
		this.css = css;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}
	
	
	public String getName() {
        return name();
    }

	/**
	 * @return the css
	 */
	public String getCss() {
		return css;
	}
	
	/*
	 * (non-Javadoc)
	 * @see java.lang.Enum#toString()
	 */
	@Override
    public String toString() {
        return description;
    }
	
}
